package Day10;

import Day10.impl.StrImpl;

import java.util.Scanner;

/**
 * @Author kalista
 * @Description
 * @Date 2020/11/16  15:06
 **/
public class Test {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("我可以帮你反转字符串偶");
        String next = scanner.next();
//        System.out.println(StringUtil.reversal(next));

        Str str = new StrImpl();
        String reversal = str.reversal(next);
        System.out.println(reversal);


    }
}
